androidPermissionExists
Type
function
Summary
Returns true if permissionName is a valid Android permission name
Syntax
androidPermissionExists(<permissionName>)
Description
Use the androidPermissionExists function to check if permissionName is a valid Android permission name.
note
Permission names are case sensitive.
Parameters
Name | Type | Description |
---|---|---|
permissionName | string | The name of the permission to check. |
Examples
if not androidPermissionExists(pPermission) then
answer pPermission && "is not a valid permission name"
end if
Compatibility and Support
Introduced
LiveCode 9.0.1
OS
android
Platforms
mobile